/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.adama.entite.typePerso;

/**
 *
 * @author mini-john
 */
public enum TypeFacturation {

    
    Cheque("Chèque"),Prelevement("Prélèvement"),SansType("Sans type");
    final private String statut; 
 
    TypeFacturation(String statut) { 
         this.statut = statut; 
    } 
 
    public String getStatut() { 
         return statut; 
    } 
     public static TypeFacturation fromString(String text) {
    if (text != null) {
      for (TypeFacturation b : TypeFacturation.values()) {
        if (text.equalsIgnoreCase(b.statut)) {
          return b;
        }
      }
    }
    return null;
  }
}
